<?php
class HotkeyIndexAction extends AdminAction
{
	public function __construct()
	{
		parent::__construct();
		$this->responseType = 'tpl';
		$this->layout = 'admin';
	}

	public function execute()
	{
		$cid						= $this->context->get('cid');
		
		$hotkeyService				= new HotkeyService();
		$this->data['data'] 		= $hotkeyService->getListByCategoryId($cid);
		
		$categoryService			= new CategoryService();
		$this->data['menuCategory']	= $categoryService->getParentList($cid);
		
		$this->data['category_id']	= $cid;
		
		$this->data['menu']			= 'category';
	}
}
